package com.jiangkang.lottery.mapper;

import com.jiangkang.lottery.po.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiangkang.lottery.po.Role;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2020-03-11
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List <Menu> getMenuByRoleId(String id);

    List<Menu> getMenuByRole(Role role);

}
